Release 10.1A: OpenEdge Getting Started:
Progress OpenEdge Studio
Business scenario
The architecture of the SportsPro Order Tracking System reflects a possible solution to a realistic business problem. Imagine that you are the general manager of a growing sporting goods distribution company. You find that your sales people are spending too much time responding to customers’ inquiries about the status of existing orders and too little time generating new orders. Your solution is to institute an order tracking help desk to enter the new orders for the sales people and to field customer inquiries.
You start designing an application for users to quickly look up customer information. You want the application structured so the tasks that users need do most often are the easiest to accomplish. You determine that users most often need to:
- Enter new orders.
- Search for a customer.
- Enter a new customer.
- Change customer information, such as an address or phone number.
- Check inventory quantities.
- Search for an order.
- Check on the shipping status of an order as a whole.
- Retrieve information about specific items that were ordered.
- Modify lines in an order.
After you know what tasks users will do with the application, you know what information they will need. From that, you create a database that contains the information you need to query for the tasks. Once you have your database, you can begin the development phases.
![]()
To begin examining the Order Tracking System, choose the Order Tracking button from the SportsPro main window. The main window of the Order Tracking System appears:
Note: You might encounter display problems with the application screens if you have your display set to large fonts and a resolution of 800x600. As a rule, if you use large or small fonts, you should use a higher resolution setting, such as 1024x768. If you do encounter display problems with the application screens, try changing your display settings.
![]()
The main window is a SmartWindow that is divided into three parts:
Table 2–11 describes the major objects used in the main window of the Order Tracking System.
Table 2–11: Components of the Order Tracking System main window Object or filename Object type Functionworder.w SmartWindow Serves as a container for the other objects in the module. m_Item_Maintenance Menu-item Launcheswmntitem.w, which is described in Table 2–7. m_Inventory_Trans Menu-item Launcheswinvtrans.w. The Inventory Transfer section is described below in Table 2–15. m_Set_Application
_Language Menu-item Launcheswlang.w.The Set Application Language section is described below in Table 2–16.dcust SDO Queries the Customer table to retrieve all customer records for the selected query.vcust SDV Displays the contents of several fields of the selected customer record. bfndcust Button bmntcust Button Launcheswmntcust.w, passing it the handle ofdcust. The Customer Maintenance section is described below in Table 2–12.dorder SDO Queries the Order table to retrieve all order records for the selected query.dordlne SDO Queries the OrderLine table to retrieve all order line records for the selected query.vorder SDV Displays the contents of several fields from the Order and Salesrep tables for the selected order record.dsalesrep SDO Queries the Salesrep table to retrieve all sales rep records for the selected query. dynselect SmartSelect Allows the user to navigate through the records indsalesrep. CtrlFrame OCX Provides navigation control for the order records. CtrlFrame-2 OCX Provides navigation control for the order records. bcreord Button Launcheswmntord.w, passing it the handles ofdcust,dorder, anddordlne. The Order Entry/Maintenance section is described below in Table 2–13. bfndord Button Launcheswfndord2.w, passing it the handle ofdorder. The Find Order section is described below in Table 2–14. bmntord Button Launcheswmntord.w, passing it the handles ofdcust,dorder, anddordlne. The Order Entry/Maintenance section is described below in Table 2–13. folder SmartFolder Organizes the display of objects onto two logical pages, shown as the Browser and Detail tabs.bordlne2 SDB Allows the user to select an order line record.vordlne SDV Displays the contents of several fields of the selected order line record.pnavico SmartPanel
(navigation) Controls navigation for the result set fromvordlne.sports2000.hlp Help Text File Provide help text for the buttons in the main window of the sample application.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |